home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen… 1994 February Supplement / ARPL-Feb-94-Supplement-PowerPC.iso / 3rd Party PowerPC Demo Apps / Diehl Graphsoft MiniCad-E / MiniCad 5 Demo (Click Me!) / MiniCad 5 Demo (Click Me!).rsrc / STR#_7015.txt < prev    next >
Encoding:
Text File  |  1994-01-18  |  966 b   |  25 lines

  1. PtInPoly(X, Y : REAL;  H : HANDLE) : BOOLEAN;
  2.  
  3. Returns TRUE if the point (X, Y) is inside the polygon connected to H; otherwise it returns FALSE.
  4.  
  5. Distance(X1, Y1, X2, Y2 : REAL) : REAL;
  6.  
  7. Returns the distance between two coordinate locations.
  8.  
  9. PtInRect(X, Y, X1, Y1, X2, Y2 : REAL) : BOOLEAN;
  10.  
  11. Returns TRUE if the coordinate X, Y is located within the rectangular boundary specified by X1, Y1 and X2, Y2; otherwise it returns FALSE.
  12.  
  13. UnionRect(X1, Y1, X2, Y2, X3, Y3, X4, Y4 : REAL;  VAR X5, Y5, X6, Y6 : REAL);
  14.  
  15. Given two rectangular boundaries, specified by X1, Y1, X2, Y2 and X3, Y3, X4, Y4, returns a new boundary which encloses both rectangles in X5, Y5, X6, Y6.
  16.  
  17. EqualRect(X1, Y1, X2, Y2, X3, Y3, X4, Y4 : REAL) : BOOLEAN;
  18.  
  19. Returns TRUE if the two rectangular boundaries X1, Y1, X2, Y2 and X3, Y3, X4, Y4 are equal, otherwise it returns FALSE.
  20.  
  21. EqualPt(X1, Y1, X2, Y2 : REAL) : BOOLEAN;
  22.  
  23. Returns TRUE if X1,Y1 and X2,Y2 are equal, otherwise it returns FALSE.
  24.  
  25.